package com.gx.model.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Liu
 * @email 85**@qq.com
 * @date 2021-11-04 15:58:39
 */
@Data
@TableName("tb_flow_msg")
public class TbFlowMsg implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 消息
     */
    private String msg;

    @ApiModelProperty(value = "消息类型", notes = "0:未读,-1:已读")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String msgType;

    @ApiModelProperty(value = "任务状态", notes = "-1:待修改,0:审批,1:已完结,2:非流程消息")
    private String flowType;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间", hidden = true)
    private Date createTime;

}
